package top.lixunda.books3.entity;

import java.util.ArrayList;
import java.util.List;

public class CollegeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CollegeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andLocationIsNull() {
            addCriterion("location is null");
            return (Criteria) this;
        }

        public Criteria andLocationIsNotNull() {
            addCriterion("location is not null");
            return (Criteria) this;
        }

        public Criteria andLocationEqualTo(String value) {
            addCriterion("location =", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotEqualTo(String value) {
            addCriterion("location <>", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThan(String value) {
            addCriterion("location >", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationGreaterThanOrEqualTo(String value) {
            addCriterion("location >=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThan(String value) {
            addCriterion("location <", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLessThanOrEqualTo(String value) {
            addCriterion("location <=", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationLike(String value) {
            addCriterion("location like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotLike(String value) {
            addCriterion("location not like", value, "location");
            return (Criteria) this;
        }

        public Criteria andLocationIn(List<String> values) {
            addCriterion("location in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotIn(List<String> values) {
            addCriterion("location not in", values, "location");
            return (Criteria) this;
        }

        public Criteria andLocationBetween(String value1, String value2) {
            addCriterion("location between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andLocationNotBetween(String value1, String value2) {
            addCriterion("location not between", value1, value2, "location");
            return (Criteria) this;
        }

        public Criteria andEducationIsNull() {
            addCriterion("education is null");
            return (Criteria) this;
        }

        public Criteria andEducationIsNotNull() {
            addCriterion("education is not null");
            return (Criteria) this;
        }

        public Criteria andEducationEqualTo(String value) {
            addCriterion("education =", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotEqualTo(String value) {
            addCriterion("education <>", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThan(String value) {
            addCriterion("education >", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationGreaterThanOrEqualTo(String value) {
            addCriterion("education >=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThan(String value) {
            addCriterion("education <", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLessThanOrEqualTo(String value) {
            addCriterion("education <=", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationLike(String value) {
            addCriterion("education like", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotLike(String value) {
            addCriterion("education not like", value, "education");
            return (Criteria) this;
        }

        public Criteria andEducationIn(List<String> values) {
            addCriterion("education in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotIn(List<String> values) {
            addCriterion("education not in", values, "education");
            return (Criteria) this;
        }

        public Criteria andEducationBetween(String value1, String value2) {
            addCriterion("education between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andEducationNotBetween(String value1, String value2) {
            addCriterion("education not between", value1, value2, "education");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneIsNull() {
            addCriterion("enroll_phone is null");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneIsNotNull() {
            addCriterion("enroll_phone is not null");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneEqualTo(String value) {
            addCriterion("enroll_phone =", value, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneNotEqualTo(String value) {
            addCriterion("enroll_phone <>", value, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneGreaterThan(String value) {
            addCriterion("enroll_phone >", value, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneGreaterThanOrEqualTo(String value) {
            addCriterion("enroll_phone >=", value, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneLessThan(String value) {
            addCriterion("enroll_phone <", value, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneLessThanOrEqualTo(String value) {
            addCriterion("enroll_phone <=", value, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneLike(String value) {
            addCriterion("enroll_phone like", value, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneNotLike(String value) {
            addCriterion("enroll_phone not like", value, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneIn(List<String> values) {
            addCriterion("enroll_phone in", values, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneNotIn(List<String> values) {
            addCriterion("enroll_phone not in", values, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneBetween(String value1, String value2) {
            addCriterion("enroll_phone between", value1, value2, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEnroll_phoneNotBetween(String value1, String value2) {
            addCriterion("enroll_phone not between", value1, value2, "enroll_phone");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlIsNull() {
            addCriterion("enroll_url is null");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlIsNotNull() {
            addCriterion("enroll_url is not null");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlEqualTo(String value) {
            addCriterion("enroll_url =", value, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlNotEqualTo(String value) {
            addCriterion("enroll_url <>", value, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlGreaterThan(String value) {
            addCriterion("enroll_url >", value, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlGreaterThanOrEqualTo(String value) {
            addCriterion("enroll_url >=", value, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlLessThan(String value) {
            addCriterion("enroll_url <", value, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlLessThanOrEqualTo(String value) {
            addCriterion("enroll_url <=", value, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlLike(String value) {
            addCriterion("enroll_url like", value, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlNotLike(String value) {
            addCriterion("enroll_url not like", value, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlIn(List<String> values) {
            addCriterion("enroll_url in", values, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlNotIn(List<String> values) {
            addCriterion("enroll_url not in", values, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlBetween(String value1, String value2) {
            addCriterion("enroll_url between", value1, value2, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andEnroll_urlNotBetween(String value1, String value2) {
            addCriterion("enroll_url not between", value1, value2, "enroll_url");
            return (Criteria) this;
        }

        public Criteria andRanking_allIsNull() {
            addCriterion("ranking_all is null");
            return (Criteria) this;
        }

        public Criteria andRanking_allIsNotNull() {
            addCriterion("ranking_all is not null");
            return (Criteria) this;
        }

        public Criteria andRanking_allEqualTo(Integer value) {
            addCriterion("ranking_all =", value, "ranking_all");
            return (Criteria) this;
        }

        public Criteria andRanking_allNotEqualTo(Integer value) {
            addCriterion("ranking_all <>", value, "ranking_all");
            return (Criteria) this;
        }

        public Criteria andRanking_allGreaterThan(Integer value) {
            addCriterion("ranking_all >", value, "ranking_all");
            return (Criteria) this;
        }

        public Criteria andRanking_allGreaterThanOrEqualTo(Integer value) {
            addCriterion("ranking_all >=", value, "ranking_all");
            return (Criteria) this;
        }

        public Criteria andRanking_allLessThan(Integer value) {
            addCriterion("ranking_all <", value, "ranking_all");
            return (Criteria) this;
        }

        public Criteria andRanking_allLessThanOrEqualTo(Integer value) {
            addCriterion("ranking_all <=", value, "ranking_all");
            return (Criteria) this;
        }

        public Criteria andRanking_allIn(List<Integer> values) {
            addCriterion("ranking_all in", values, "ranking_all");
            return (Criteria) this;
        }

        public Criteria andRanking_allNotIn(List<Integer> values) {
            addCriterion("ranking_all not in", values, "ranking_all");
            return (Criteria) this;
        }

        public Criteria andRanking_allBetween(Integer value1, Integer value2) {
            addCriterion("ranking_all between", value1, value2, "ranking_all");
            return (Criteria) this;
        }

        public Criteria andRanking_allNotBetween(Integer value1, Integer value2) {
            addCriterion("ranking_all not between", value1, value2, "ranking_all");
            return (Criteria) this;
        }

        public Criteria andRanking_typeIsNull() {
            addCriterion("ranking_type is null");
            return (Criteria) this;
        }

        public Criteria andRanking_typeIsNotNull() {
            addCriterion("ranking_type is not null");
            return (Criteria) this;
        }

        public Criteria andRanking_typeEqualTo(Integer value) {
            addCriterion("ranking_type =", value, "ranking_type");
            return (Criteria) this;
        }

        public Criteria andRanking_typeNotEqualTo(Integer value) {
            addCriterion("ranking_type <>", value, "ranking_type");
            return (Criteria) this;
        }

        public Criteria andRanking_typeGreaterThan(Integer value) {
            addCriterion("ranking_type >", value, "ranking_type");
            return (Criteria) this;
        }

        public Criteria andRanking_typeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ranking_type >=", value, "ranking_type");
            return (Criteria) this;
        }

        public Criteria andRanking_typeLessThan(Integer value) {
            addCriterion("ranking_type <", value, "ranking_type");
            return (Criteria) this;
        }

        public Criteria andRanking_typeLessThanOrEqualTo(Integer value) {
            addCriterion("ranking_type <=", value, "ranking_type");
            return (Criteria) this;
        }

        public Criteria andRanking_typeIn(List<Integer> values) {
            addCriterion("ranking_type in", values, "ranking_type");
            return (Criteria) this;
        }

        public Criteria andRanking_typeNotIn(List<Integer> values) {
            addCriterion("ranking_type not in", values, "ranking_type");
            return (Criteria) this;
        }

        public Criteria andRanking_typeBetween(Integer value1, Integer value2) {
            addCriterion("ranking_type between", value1, value2, "ranking_type");
            return (Criteria) this;
        }

        public Criteria andRanking_typeNotBetween(Integer value1, Integer value2) {
            addCriterion("ranking_type not between", value1, value2, "ranking_type");
            return (Criteria) this;
        }

        public Criteria andPopular_codeIsNull() {
            addCriterion("popular_code is null");
            return (Criteria) this;
        }

        public Criteria andPopular_codeIsNotNull() {
            addCriterion("popular_code is not null");
            return (Criteria) this;
        }

        public Criteria andPopular_codeEqualTo(Integer value) {
            addCriterion("popular_code =", value, "popular_code");
            return (Criteria) this;
        }

        public Criteria andPopular_codeNotEqualTo(Integer value) {
            addCriterion("popular_code <>", value, "popular_code");
            return (Criteria) this;
        }

        public Criteria andPopular_codeGreaterThan(Integer value) {
            addCriterion("popular_code >", value, "popular_code");
            return (Criteria) this;
        }

        public Criteria andPopular_codeGreaterThanOrEqualTo(Integer value) {
            addCriterion("popular_code >=", value, "popular_code");
            return (Criteria) this;
        }

        public Criteria andPopular_codeLessThan(Integer value) {
            addCriterion("popular_code <", value, "popular_code");
            return (Criteria) this;
        }

        public Criteria andPopular_codeLessThanOrEqualTo(Integer value) {
            addCriterion("popular_code <=", value, "popular_code");
            return (Criteria) this;
        }

        public Criteria andPopular_codeIn(List<Integer> values) {
            addCriterion("popular_code in", values, "popular_code");
            return (Criteria) this;
        }

        public Criteria andPopular_codeNotIn(List<Integer> values) {
            addCriterion("popular_code not in", values, "popular_code");
            return (Criteria) this;
        }

        public Criteria andPopular_codeBetween(Integer value1, Integer value2) {
            addCriterion("popular_code between", value1, value2, "popular_code");
            return (Criteria) this;
        }

        public Criteria andPopular_codeNotBetween(Integer value1, Integer value2) {
            addCriterion("popular_code not between", value1, value2, "popular_code");
            return (Criteria) this;
        }

        public Criteria andLearn_codeIsNull() {
            addCriterion("learn_code is null");
            return (Criteria) this;
        }

        public Criteria andLearn_codeIsNotNull() {
            addCriterion("learn_code is not null");
            return (Criteria) this;
        }

        public Criteria andLearn_codeEqualTo(Double value) {
            addCriterion("learn_code =", value, "learn_code");
            return (Criteria) this;
        }

        public Criteria andLearn_codeNotEqualTo(Double value) {
            addCriterion("learn_code <>", value, "learn_code");
            return (Criteria) this;
        }

        public Criteria andLearn_codeGreaterThan(Double value) {
            addCriterion("learn_code >", value, "learn_code");
            return (Criteria) this;
        }

        public Criteria andLearn_codeGreaterThanOrEqualTo(Double value) {
            addCriterion("learn_code >=", value, "learn_code");
            return (Criteria) this;
        }

        public Criteria andLearn_codeLessThan(Double value) {
            addCriterion("learn_code <", value, "learn_code");
            return (Criteria) this;
        }

        public Criteria andLearn_codeLessThanOrEqualTo(Double value) {
            addCriterion("learn_code <=", value, "learn_code");
            return (Criteria) this;
        }

        public Criteria andLearn_codeIn(List<Double> values) {
            addCriterion("learn_code in", values, "learn_code");
            return (Criteria) this;
        }

        public Criteria andLearn_codeNotIn(List<Double> values) {
            addCriterion("learn_code not in", values, "learn_code");
            return (Criteria) this;
        }

        public Criteria andLearn_codeBetween(Double value1, Double value2) {
            addCriterion("learn_code between", value1, value2, "learn_code");
            return (Criteria) this;
        }

        public Criteria andLearn_codeNotBetween(Double value1, Double value2) {
            addCriterion("learn_code not between", value1, value2, "learn_code");
            return (Criteria) this;
        }

        public Criteria andLive_codeIsNull() {
            addCriterion("live_code is null");
            return (Criteria) this;
        }

        public Criteria andLive_codeIsNotNull() {
            addCriterion("live_code is not null");
            return (Criteria) this;
        }

        public Criteria andLive_codeEqualTo(Double value) {
            addCriterion("live_code =", value, "live_code");
            return (Criteria) this;
        }

        public Criteria andLive_codeNotEqualTo(Double value) {
            addCriterion("live_code <>", value, "live_code");
            return (Criteria) this;
        }

        public Criteria andLive_codeGreaterThan(Double value) {
            addCriterion("live_code >", value, "live_code");
            return (Criteria) this;
        }

        public Criteria andLive_codeGreaterThanOrEqualTo(Double value) {
            addCriterion("live_code >=", value, "live_code");
            return (Criteria) this;
        }

        public Criteria andLive_codeLessThan(Double value) {
            addCriterion("live_code <", value, "live_code");
            return (Criteria) this;
        }

        public Criteria andLive_codeLessThanOrEqualTo(Double value) {
            addCriterion("live_code <=", value, "live_code");
            return (Criteria) this;
        }

        public Criteria andLive_codeIn(List<Double> values) {
            addCriterion("live_code in", values, "live_code");
            return (Criteria) this;
        }

        public Criteria andLive_codeNotIn(List<Double> values) {
            addCriterion("live_code not in", values, "live_code");
            return (Criteria) this;
        }

        public Criteria andLive_codeBetween(Double value1, Double value2) {
            addCriterion("live_code between", value1, value2, "live_code");
            return (Criteria) this;
        }

        public Criteria andLive_codeNotBetween(Double value1, Double value2) {
            addCriterion("live_code not between", value1, value2, "live_code");
            return (Criteria) this;
        }

        public Criteria andWork_codeIsNull() {
            addCriterion("work_code is null");
            return (Criteria) this;
        }

        public Criteria andWork_codeIsNotNull() {
            addCriterion("work_code is not null");
            return (Criteria) this;
        }

        public Criteria andWork_codeEqualTo(Double value) {
            addCriterion("work_code =", value, "work_code");
            return (Criteria) this;
        }

        public Criteria andWork_codeNotEqualTo(Double value) {
            addCriterion("work_code <>", value, "work_code");
            return (Criteria) this;
        }

        public Criteria andWork_codeGreaterThan(Double value) {
            addCriterion("work_code >", value, "work_code");
            return (Criteria) this;
        }

        public Criteria andWork_codeGreaterThanOrEqualTo(Double value) {
            addCriterion("work_code >=", value, "work_code");
            return (Criteria) this;
        }

        public Criteria andWork_codeLessThan(Double value) {
            addCriterion("work_code <", value, "work_code");
            return (Criteria) this;
        }

        public Criteria andWork_codeLessThanOrEqualTo(Double value) {
            addCriterion("work_code <=", value, "work_code");
            return (Criteria) this;
        }

        public Criteria andWork_codeIn(List<Double> values) {
            addCriterion("work_code in", values, "work_code");
            return (Criteria) this;
        }

        public Criteria andWork_codeNotIn(List<Double> values) {
            addCriterion("work_code not in", values, "work_code");
            return (Criteria) this;
        }

        public Criteria andWork_codeBetween(Double value1, Double value2) {
            addCriterion("work_code between", value1, value2, "work_code");
            return (Criteria) this;
        }

        public Criteria andWork_codeNotBetween(Double value1, Double value2) {
            addCriterion("work_code not between", value1, value2, "work_code");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}